#ifndef COMMAND_H
#define COMMAND_H
#include <filesystem>
#include <string>
#include <vector>
#include "commands_enum.h"

class command {
public:
	commands_enum type{commands_enum::COMMAND_NOT_FOUND};
	std::string command_;

	explicit command(const std::string& input);

	std::tuple<int, std::string> run();

private:
	void process_command();
	std::vector<std::string> args_;
	std::string raw_input;
	std::filesystem::path cur_path;
};



#endif //COMMAND_H
